package com.yonyou.pmclouds.plan.rmiitf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.plan.entity.PlanProgressHistoryVO;

import java.util.List;
import java.util.Map;

public interface IScheduleProgressHistoryQueryService {

    PlanProgressHistoryVO[] queryByPkPlans(String[] pkPlans) throws BusinessException;

    Map<String, List<PlanProgressHistoryVO>> queryByPkPlansWithMap(String[] pkPlans) throws BusinessException;

    PlanProgressHistoryVO[] queryProgressHisByPlan(String pkOriginal) throws BusinessException;

    /**
     *
     * @param pkPlans
     * @return  返回最后一个版本的进度历史
     * @throws BusinessException
     */
    PlanProgressHistoryVO queryLastProgressHisByPkPlans(String[] pkPlans) throws  BusinessException;
}
